-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(examples): update grid example for deploy #7577
chore(examples): update grid example for deploy #7577
Conversation
✔️ Deploy preview for carbon-elements ready! 🔨 Explore the source changes: 5dbb627 🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-elements/deploys/600703b10d5665000793afcc 😎 Browse the preview: https://deploy-preview-7577--carbon-elements.netlify.app |
✔️ Deploy preview for carbon-components-react ready! 🔨 Explore the source changes: f081e63 🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-components-react/deploys/6000d1f7f4a17e0007c38ad9 😎 Browse the preview: https://deploy-preview-7577--carbon-components-react.netlify.app |
✔️ Deploy preview for carbon-components-react ready! 🔨 Explore the source changes: 5dbb627 🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-components-react/deploys/600703b132e5a60008f80bf3 😎 Browse the preview: https://deploy-preview-7577--carbon-components-react.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, grid preview is restored
Closes #7566
Our Grid deployment was broken after our upgrade to Yarn, it appears that "export" is not recognized when we deploy into Netlify.
This PR updates our examples script to fail if the child process for building examples exits with a code that is not 0 and also updates our grid example to pass in the path prefix to parcel without an environment variable.
Changelog
New
Changed
tasks/examples.js
to fail on child sub-process failpackges/grid/examples/preview
to not use environment variables for path previewRemoved
Testing / Reviewing